<?php
class SetsController extends AppController {

var $name = 'Sets';
var $uses = array('Flickr');
//var $helpers = array('Cache');
//var $cacheAction = "1 hour";
function index()
{
	// I use this for CSS purposes, delete/ignore if you use another theme
	$this->set('main_css_class','albums');
	$this->set('photosets',$this->Flickr->photosets());
}

function photos($id,$name)
{
	// I use this for CSS purposes, delete/ignore if you use another theme
	$this->set('main_css_class','images');
	$this->set('photo',$this->Flickr->photos($id));
}















} // End Class
?>
